const shell = require("shelljs");
const args = process.argv.slice(2);
args.forEach((i) => {
    shell.echo("开始构建" + i);
    shell.exec(
        `npx asc assembly/${i}/index.ts --target release --exportRuntime  -o build/${i}.wasm -d build/${i}.d.ts`
    );
    shell.echo("构建完成" + i);
});
